package com.wsoft.form.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 自定义表单-页面表
 * </p>
 *
 * @author Z001
 * @since 2024年08月29日 09:11:06
 */
@Getter
@Setter
@TableName("wf_form")
@Schema(name = "WfFormEntity", description = "自定义表单-页面表")
public class WfFormEntity extends BaseEntity {

    @Schema(description = "主表Id")
    @TableField("table_id")
    private Long tableId;

    @Schema(description = "页面编码")
    @TableField("form_code")
    private String formCode;

    @Schema(description = "页面名称")
    @TableField("form_name")
    private String formName;

    @Schema(description = "页面类型")
    @TableField("form_type")
    private Integer formType;

    @Schema(description = "页面编辑状态")
    @TableField("status")
    private Integer status;

    @Schema(description = "是否发布")
    @TableField("published")
    private Integer published;

    @Schema(description = "工作流key")
    @TableField("bmp_key")
    private String bmpKey;
}
